<?php

/**
 * Arquivo de configuração do Sistema
 */

$mysql = array(
            "host" => "150.165.130.194",
            "port" => "3306",
            "user" => "dou",
            "pass" => "dou123",
            "database" => "dou"
        );

$webservice = array(
        
                "host" => "localhost",
                "port" => "7997"
            );

$types = array(
            "1" => "Email",
            "2" => "Twitter"
        );

function generateResponse($status, $msg = "") {
    
    header("Content-Type: text/xml");
    echo '<?xml version="1.0" encoding="utf-8" ?>';
    echo "<Response status='$status' msg='$msg' />";
    exit();
}
?>
